﻿<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>Key control</title>
<link rel="stylesheet" type="text/css" href="..\bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="..\style.css">
<script type="text/javascript">
<!--
function test(e) {
	switch(e) {
		case 0: document.form2.btCe.click(); break;
		case 1: document.form1.btLe.click(); break;
		case 2:	document.form0.btUp.click(); break;
		case 3: document.form3.btRi.click(); break;
		case 4: document.form4.btDo.click(); break;
	}
}

function key_check() {
	switch (event.keyCode) {
		case 13: test(0);	break;
		case 37: test(1); break;
		case 38: test(2);	break;
		case 39: test(3);	break;
		case 40: test(4);	break;
	}
}
-->
</script>
</head>
<body onKeyDown="key_check();">
<div class="sub-title" style="text-align: center;"><h3>Key control</h3></div>
<hr>
<table class="table table-bordered" style="width: 300px;">
<tr>
	<td></td>
	<td style="text-align: center;">
		<form id="form0" name="form0" method="get" action="appispky.cgi">
		<input class="btn btn-default" style="width: 90px;" name="btUp" type="submit" value="▲">
		</form>
	</td>
	<td></td>
</tr>
<tr>
	<td style="text-align: center;">
		<form id="form1" name="form1" method="get" action="appispky.cgi">
		<input class="btn btn-default" style="width: 90px;" name="btLe" type="submit" value="◀">
		</form>
	</td>
	<td style="text-align: center;">
		<form id="form2" name="form2" method="get" action="appispky.cgi">
		<input class="btn btn-default" style="width: 90px;" name="btCe" type="submit" value="●">
		</form>
	</td>
	<td style="text-align: center;">
		<form id="form3" name="form3" method="get" action="appispky.cgi">
		<input class="btn btn-default" style="width: 90px;" name="btRi" type="submit" value="▶">
		</form>
	</td>
</tr>
<tr>
	<td></td>
	<td style="text-align: center;">
		<form id="form4" name="form4" method="get" action="appispky.cgi">
		<input class="btn btn-default" style="width: 90px;" name="btDo" type="submit" value="▼">
		</form>
	</td>
	<td></td>
</tr>
</table>
</body>
</html>